<?php
class PageAction{
	public function index(){
		$ro = new ResultObj();
		$ro->msg = "demo" ;
		$ro->result = "result json";
		$ro->data = "xxxxxxx" ;
		echo json_encode($ro);
	}
}

class ResultObj{
	public $msg ;
	public $result ;
	public $data ;
}
?>